//
//  RHAddPlantModel.h
//  RuiHeApp
//
//  Created by Yan Chen on 2025/2/19.
//

#import <Foundation/Foundation.h>
#import "RHOptionModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface RHAddPlantModel : NSObject
@property (nonatomic ,copy) NSString *title;

@property (nonatomic ,copy) NSString *content;

@property (nonatomic ,copy) NSString *placeHolder;

@property (nonatomic ,assign) NSInteger maxLength;//最大文本输入长度

@property (nonatomic ,copy) NSString *tag;

@property (nonatomic ,assign) BOOL isSelection;//是否选择项

@property (nonatomic ,strong) NSArray <RHOptionModel*> *optionList;

@property (nonatomic ,copy) NSString *enum_content;//枚举值对应的内容,用于显示

@property (nonatomic ,assign) BOOL isRequired;//是否必填

@property (nonatomic ,assign,getter=isCanEdit) BOOL canEdit;

@property (nonatomic ,assign) BOOL isFirst;//首行 圆角边框问题

@property (nonatomic ,assign) BOOL isLast;//尾行 圆角边框问题

@property (nonatomic ,copy) NSString *key;//提交给后台的字段
@end

NS_ASSUME_NONNULL_END
